package com.gapp.king.web.client;

import java.io.Serializable;

public class StockPrice implements Serializable{
	
	private String symbol;
	private double price;
	private double change;
	
	public StockPrice()
	{
		
	}
	
	public StockPrice (String symbol, double price, double change)
	{
		this.symbol = symbol;
		this.price = price;
		this.change = change;
	}
	
	public String getSymbol() {
		return symbol;
	}
	
	public void setSymbol(String symbole) {
		this.symbol = symbole;
	}
	
	public double getPrice() {
		return price;
	}
	
	public void setPrice(double price) {
		this.price = price;
	}
	
	public double getChange() {
		return change;
	}
	
	public void setChange(double change) {
		this.change = change;
	}
	
	public double getChangePercent() {
	    return 100.0 * this.change / this.price;
	  }
	
}
